import request from "@/utils/request";
import wyrequest from "@/utils/wyrequest";
export const reqGoodsList = (data = {}) => {
    return request.post(`/list`, data)
}
export const reqGoodsDetail = (skuId:number) => {
    return request.get(`/item/${ skuId }`);
}
export const wyGoodsList = (data:FormData) => {
    return wyrequest.post(`/xhr/search/searchAutoComplete.json`, data)
}
export const wyGoodsListinit = () => {
    return wyrequest.post(`/xhr/search/init.json`)
}
export const wyGoodsListinitd = (skuId:any) => {
    return wyrequest.get(`xhr/search/search.json?&__timestamp=1681303359894&keyword=${ skuId }&sortType=0&descSorted=false&categoryId=0&matchType=0&floorPrice=-1&upperPrice=-1&size=40&itemId=0&stillSearch=false&searchWordSource=7&needPopWindow=false&_stat_search=autoComplete`)
}